//
// Created by 吴喆 on 2020/4/8.
//

#ifndef SUMMER_FONTALTAS_H
#define SUMMER_FONTALTAS_H


#include "Font.h"
#include "FTFont.h"
#include <unordered_map>

#define MAXSIZE 5000

class FontAtlas {
public:
    explicit FontAtlas(Font *font);

    Character *find(wchar_t ch);
    virtual ~FontAtlas();

protected:
    Font *font;
private:
    std::unordered_map<wchar_t, Character*> characters;

};


#endif //SUMMER_FONTALTAS_H
